package fz.vrd.library.encryption_decryption;


import fz.vrd.library.proxy.ProxyHandler;

/**
 * <b>类名称：加密和解密  <br/>
 * <b>创建人： Administrator <br/>
 * <b>时间： 2021/5/17 11:05 <br/>
 * <b>说明：{ } <br/>
 */
public class Dec_EncFactory {


    public static Factory createMd5() {

        return new Md5();
    }

    public static Factory createBase64() {

        return new Base64();
    }


    public static Factory createSha() {

        return new Sha();
    }

    public static Factory createAes() {

        return new Aes();
    }

    public static Factory  create(Object o) {

        return (Factory) ProxyHandler.create().newProxyInstance(o);

    }


}
